/*
*
* FrameDepartmentMapper.java
* Copyright(C) 2017-2020 zhangpanzhi
* @date 2020-10-13
*/
package com.zpz.framework.zpzoauth.dao;

import com.zpz.framework.zpzoauth.common.dao.ZpzOauthBaseMapper;
import com.zpz.framework.zpzoauth.pojo.pe.GetDepartmentListPe;
import com.zpz.framework.zpzoauth.pojo.pe.GetDepartmentStatusPe;
import com.zpz.framework.zpzoauth.pojo.po.FrameDepartment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FrameDepartmentMapper extends ZpzOauthBaseMapper<FrameDepartment> {
    List<GetDepartmentStatusPe> selectDepartmentStatus(@Param("userCode")String userCode);
    int updateDepartment(FrameDepartment frameDepartment);
    List<GetDepartmentListPe> selectDepartmentList(@Param("name")String name);
}
